package com.api.shopapi.service;

import com.api.shopapi.entity.CallRecord;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface CallRecordService {

    int insert(CallRecord callRecord);

    int update(CallRecord callRecord);

    CallRecord getByCallRecordCode(String callRecordCode);

    List<CallRecord> getList();

    PageInfo<CallRecord> getSeatsList(int pageNum, int pageSize, String phone);

    List<CallRecord> getListByUserCode(String userCode);
}
